<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Программа приема сигнальной информации: Исходный файл /home/student/rostovcev_sergey/program/2024_winter/pk_irpsi_rrv/client/src/isi.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Программа приема сигнальной информации
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">Программный комплекс имитации регистрации и представления сигнальной информации в режиме реального времени</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Поиск');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Поиск');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">isi.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="isi_8h.html">См. документацию.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef ISI_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define ISI_H</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;QObject&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;QtSql&gt;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;qfiledialog.h&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;../../viewsignal/src/globalvar.h&quot;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keyword">class </span><a class="code" href="class_isi.html">Isi</a>;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_isi.html">   14</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_isi.html">Isi</a>:<span class="keyword">public</span> <a class="code" href="class_q_object.html">QObject</a></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;{</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    Q_OBJECT</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_isi.html#a7a39f1b8cd23e4abd5bf5b102bf0080e">Isi</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numConnection = 1, <a class="code" href="class_q_object.html">QObject</a> *parent = <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    <a class="code" href="class_isi.html#a9840e619c0926c471b78e275908e1e27">~Isi</a>();</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_isi.html#af0a74bfd139f93de190d9d0cc53ce31a">createTable</a>();</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_isi.html#abad801393d797f9e457f937c63625cdd">insertHeader</a>(QStringList list);</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_isi.html#a2b799e4fdce02cd98f8c2d75ba959fd1">insertData</a>(QStringList list);</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_isi.html#adc79ef5aad56baaadb17971ad3e0def7">selectRow</a>(<span class="keywordtype">int</span> elapsed);</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_isi.html#a6cb971305abb091b22a258a78c10fdbb">selectTime</a>(<span class="keywordtype">int</span> row,<span class="keywordtype">int</span> column);</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    qint64 <a class="code" href="class_isi.html#a6a9d87f6ed7d43d940f871b1d749723e">selectValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> column, <span class="keywordtype">int</span> bit);</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    qint64 <a class="code" href="class_isi.html#a6a9d87f6ed7d43d940f871b1d749723e">selectValue</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> index);</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_isi.html#a5061533529c8a4b6d988d7c4db55f692">getParams</a>();</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_isi.html#a62bd007b6c000b92419311befa650ba0">open</a>();</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_isi.html#ab4d51dc27be9ee769d13c721adec47c0">getCountIn</a>();</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_isi.html#a897792e059fd73e577ffa8b56f0a8a07">getCountOut</a>();</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_isi.html#aaf2a99f6105d29fcbdefca9ae090db6d">setPath</a>(<span class="keyword">const</span> QString &amp;<a class="code" href="class_isi.html#a8f50877035157dc7f92cdf9ad8c6459b">path</a> = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    QString <a class="code" href="class_isi.html#a8f50877035157dc7f92cdf9ad8c6459b">path</a>();</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    QString <a class="code" href="class_isi.html#a81023cb78e9f550b12d64fb3a9d3654b">getNameParam</a>(<span class="keywordtype">int</span> index);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_isi.html#a92a81e8c3bc72d77d96235fdbd4859b4">getRowCount</a>();</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_isi.html#a57da3643f8a44068bc860bd880de284d">getColumnCount</a>();</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    QVariant <a class="code" href="class_isi.html#ae834ca0b1620906024307ccac413b520">getValueItem</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> column);</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_isi.html#ae6d05601105eb8ff52d4ed49b02a1dad">getHeaderColumnCount</a>();</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_isi.html#a8fe811c3fa246439076edff02c444317">getHeaderRowCount</a>();</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    QVariant <a class="code" href="class_isi.html#a28b891104e9d08d93d1c45071c6a91d7">getHeaderValueItem</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> column);</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="class_isi.html#a4a06920aba68caab2d89c6b0c653621f">  135</a></span>&#160;    QString <a class="code" href="class_isi.html#a4a06920aba68caab2d89c6b0c653621f">d_path</a>;</div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="class_isi.html#afc05e3458aecbdd2e5dc4c30cc5fa482">  139</a></span>&#160;    QSqlDatabase <a class="code" href="class_isi.html#afc05e3458aecbdd2e5dc4c30cc5fa482">d_db</a>;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="class_isi.html#aa7f80f11d0384fff575732e9802063af">  144</a></span>&#160;    QString <a class="code" href="class_isi.html#aa7f80f11d0384fff575732e9802063af">d_nameConnection</a>;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;};</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="preprocessor">#endif // ISI_H</span></div><div class="ttc" id="class_isi_html_a897792e059fd73e577ffa8b56f0a8a07"><div class="ttname"><a href="class_isi.html#a897792e059fd73e577ffa8b56f0a8a07">Isi::getCountOut</a></div><div class="ttdeci">int getCountOut()</div><div class="ttdoc">getCountOut получить количество параметров на выход </div><div class="ttdef"><b>Definition:</b> isi.cpp:181</div></div>
<div class="ttc" id="class_isi_html_ae6d05601105eb8ff52d4ed49b02a1dad"><div class="ttname"><a href="class_isi.html#ae6d05601105eb8ff52d4ed49b02a1dad">Isi::getHeaderColumnCount</a></div><div class="ttdeci">int getHeaderColumnCount()</div><div class="ttdoc">getHeaderColumnCount получить количество столбцов из таблицы header </div><div class="ttdef"><b>Definition:</b> isi.cpp:275</div></div>
<div class="ttc" id="class_isi_html_ab4d51dc27be9ee769d13c721adec47c0"><div class="ttname"><a href="class_isi.html#ab4d51dc27be9ee769d13c721adec47c0">Isi::getCountIn</a></div><div class="ttdeci">int getCountIn()</div><div class="ttdoc">getCountIn получить количество параметров на вход </div><div class="ttdef"><b>Definition:</b> isi.cpp:165</div></div>
<div class="ttc" id="class_isi_html_af0a74bfd139f93de190d9d0cc53ce31a"><div class="ttname"><a href="class_isi.html#af0a74bfd139f93de190d9d0cc53ce31a">Isi::createTable</a></div><div class="ttdeci">void createTable()</div><div class="ttdoc">createTable создание таблиц header и data для Клиента </div><div class="ttdef"><b>Definition:</b> isi.cpp:25</div></div>
<div class="ttc" id="class_isi_html_aaf2a99f6105d29fcbdefca9ae090db6d"><div class="ttname"><a href="class_isi.html#aaf2a99f6105d29fcbdefca9ae090db6d">Isi::setPath</a></div><div class="ttdeci">void setPath(const QString &amp;path=&quot;&quot;)</div><div class="ttdoc">setPath назначить адрес для базы данных </div><div class="ttdef"><b>Definition:</b> isi.cpp:193</div></div>
<div class="ttc" id="class_isi_html_a62bd007b6c000b92419311befa650ba0"><div class="ttname"><a href="class_isi.html#a62bd007b6c000b92419311befa650ba0">Isi::open</a></div><div class="ttdeci">bool open()</div><div class="ttdoc">open проверка открыта база данных или нет </div><div class="ttdef"><b>Definition:</b> isi.cpp:160</div></div>
<div class="ttc" id="class_isi_html_a92a81e8c3bc72d77d96235fdbd4859b4"><div class="ttname"><a href="class_isi.html#a92a81e8c3bc72d77d96235fdbd4859b4">Isi::getRowCount</a></div><div class="ttdeci">int getRowCount()</div><div class="ttdoc">getRowCount получить количество строк из таблицы data </div><div class="ttdef"><b>Definition:</b> isi.cpp:225</div></div>
<div class="ttc" id="class_isi_html_a8fe811c3fa246439076edff02c444317"><div class="ttname"><a href="class_isi.html#a8fe811c3fa246439076edff02c444317">Isi::getHeaderRowCount</a></div><div class="ttdeci">int getHeaderRowCount()</div><div class="ttdoc">getHeaderRowCount получить количество строк из таблицы header </div><div class="ttdef"><b>Definition:</b> isi.cpp:280</div></div>
<div class="ttc" id="class_isi_html_afc05e3458aecbdd2e5dc4c30cc5fa482"><div class="ttname"><a href="class_isi.html#afc05e3458aecbdd2e5dc4c30cc5fa482">Isi::d_db</a></div><div class="ttdeci">QSqlDatabase d_db</div><div class="ttdoc">d_db объект класса QSqlDatabase, необходим для получения данных из базы данных </div><div class="ttdef"><b>Definition:</b> isi.h:139</div></div>
<div class="ttc" id="class_isi_html_a2b799e4fdce02cd98f8c2d75ba959fd1"><div class="ttname"><a href="class_isi.html#a2b799e4fdce02cd98f8c2d75ba959fd1">Isi::insertData</a></div><div class="ttdeci">bool insertData(QStringList list)</div><div class="ttdoc">insertData вставка данных в таблицу data </div><div class="ttdef"><b>Definition:</b> isi.cpp:44</div></div>
<div class="ttc" id="class_isi_html_a81023cb78e9f550b12d64fb3a9d3654b"><div class="ttname"><a href="class_isi.html#a81023cb78e9f550b12d64fb3a9d3654b">Isi::getNameParam</a></div><div class="ttdeci">QString getNameParam(int index)</div><div class="ttdoc">getNameParam получить название параметра по индексу </div><div class="ttdef"><b>Definition:</b> isi.cpp:215</div></div>
<div class="ttc" id="class_isi_html_adc79ef5aad56baaadb17971ad3e0def7"><div class="ttname"><a href="class_isi.html#adc79ef5aad56baaadb17971ad3e0def7">Isi::selectRow</a></div><div class="ttdeci">int selectRow(int elapsed)</div><div class="ttdoc">selectRow получить следующий номер (rowid) записи в таблице data после последней отображенной точки (...</div><div class="ttdef"><b>Definition:</b> isi.cpp:61</div></div>
<div class="ttc" id="class_isi_html_a5061533529c8a4b6d988d7c4db55f692"><div class="ttname"><a href="class_isi.html#a5061533529c8a4b6d988d7c4db55f692">Isi::getParams</a></div><div class="ttdeci">int getParams()</div><div class="ttdoc">getParams получить количество параметров </div><div class="ttdef"><b>Definition:</b> isi.cpp:155</div></div>
<div class="ttc" id="class_isi_html"><div class="ttname"><a href="class_isi.html">Isi</a></div><div class="ttdoc">The Isi class Основной класс для получения информации из файла *.isi. </div><div class="ttdef"><b>Definition:</b> isi.h:14</div></div>
<div class="ttc" id="class_isi_html_ae834ca0b1620906024307ccac413b520"><div class="ttname"><a href="class_isi.html#ae834ca0b1620906024307ccac413b520">Isi::getValueItem</a></div><div class="ttdeci">QVariant getValueItem(int row, int column)</div><div class="ttdoc">getValueItem получить значение из таблицы data по номеру строки и столбца </div><div class="ttdef"><b>Definition:</b> isi.cpp:246</div></div>
<div class="ttc" id="class_isi_html_a57da3643f8a44068bc860bd880de284d"><div class="ttname"><a href="class_isi.html#a57da3643f8a44068bc860bd880de284d">Isi::getColumnCount</a></div><div class="ttdeci">int getColumnCount()</div><div class="ttdoc">getColumnCount получить количество столбцов из таблицы data </div><div class="ttdef"><b>Definition:</b> isi.cpp:241</div></div>
<div class="ttc" id="class_isi_html_a4a06920aba68caab2d89c6b0c653621f"><div class="ttname"><a href="class_isi.html#a4a06920aba68caab2d89c6b0c653621f">Isi::d_path</a></div><div class="ttdeci">QString d_path</div><div class="ttdoc">d_path путь к базе данных </div><div class="ttdef"><b>Definition:</b> isi.h:135</div></div>
<div class="ttc" id="class_isi_html_a8f50877035157dc7f92cdf9ad8c6459b"><div class="ttname"><a href="class_isi.html#a8f50877035157dc7f92cdf9ad8c6459b">Isi::path</a></div><div class="ttdeci">QString path()</div><div class="ttdoc">path получить путь базе данных </div><div class="ttdef"><b>Definition:</b> isi.cpp:210</div></div>
<div class="ttc" id="class_isi_html_a7a39f1b8cd23e4abd5bf5b102bf0080e"><div class="ttname"><a href="class_isi.html#a7a39f1b8cd23e4abd5bf5b102bf0080e">Isi::Isi</a></div><div class="ttdeci">Isi(const int numConnection=1, QObject *parent=nullptr)</div><div class="ttdef"><b>Definition:</b> isi.cpp:8</div></div>
<div class="ttc" id="class_isi_html_a9840e619c0926c471b78e275908e1e27"><div class="ttname"><a href="class_isi.html#a9840e619c0926c471b78e275908e1e27">Isi::~Isi</a></div><div class="ttdeci">~Isi()</div><div class="ttdef"><b>Definition:</b> isi.cpp:15</div></div>
<div class="ttc" id="class_isi_html_a6cb971305abb091b22a258a78c10fdbb"><div class="ttname"><a href="class_isi.html#a6cb971305abb091b22a258a78c10fdbb">Isi::selectTime</a></div><div class="ttdeci">double selectTime(int row, int column)</div><div class="ttdoc">selectTime получить значение времени из базы данных по номеру строки и столбца </div><div class="ttdef"><b>Definition:</b> isi.cpp:83</div></div>
<div class="ttc" id="class_isi_html_aa7f80f11d0384fff575732e9802063af"><div class="ttname"><a href="class_isi.html#aa7f80f11d0384fff575732e9802063af">Isi::d_nameConnection</a></div><div class="ttdeci">QString d_nameConnection</div><div class="ttdoc">d_nameConnection имя подключения для базы данных </div><div class="ttdef"><b>Definition:</b> isi.h:144</div></div>
<div class="ttc" id="class_q_object_html"><div class="ttname"><a href="class_q_object.html">QObject</a></div></div>
<div class="ttc" id="class_isi_html_a28b891104e9d08d93d1c45071c6a91d7"><div class="ttname"><a href="class_isi.html#a28b891104e9d08d93d1c45071c6a91d7">Isi::getHeaderValueItem</a></div><div class="ttdeci">QVariant getHeaderValueItem(int row, int column)</div><div class="ttdoc">getHeaderValueItem получить значение из таблицы header по номеру строки и столбца ...</div><div class="ttdef"><b>Definition:</b> isi.cpp:296</div></div>
<div class="ttc" id="class_isi_html_abad801393d797f9e457f937c63625cdd"><div class="ttname"><a href="class_isi.html#abad801393d797f9e457f937c63625cdd">Isi::insertHeader</a></div><div class="ttdeci">bool insertHeader(QStringList list)</div><div class="ttdoc">insertHeader вставка данных в таблицу header </div><div class="ttdef"><b>Definition:</b> isi.cpp:34</div></div>
<div class="ttc" id="class_isi_html_a6a9d87f6ed7d43d940f871b1d749723e"><div class="ttname"><a href="class_isi.html#a6a9d87f6ed7d43d940f871b1d749723e">Isi::selectValue</a></div><div class="ttdeci">qint64 selectValue(int row, int column, int bit)</div><div class="ttdoc">selectValue получить значение бита необходимого элемента </div><div class="ttdef"><b>Definition:</b> isi.cpp:99</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Создано системой &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
